
package com.work.jaxb.menu;

import java.io.Serializable;
import java.util.List;

import javax.xml.bind.annotation.*;

import org.apache.commons.lang3.builder.*;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "rootMenu")
@XmlRootElement(name = "rootMenu")
public class XmlRootMenu implements Serializable {

	private static final long serialVersionUID = -5776413567668193410L;

	@XmlElement(required = false, name = "menu")
	List<XmlMenu> menuList;

	public List<XmlMenu> getMenuList()
	{
		return menuList;
	}

	public void setMenuList(List<XmlMenu> menuList)
	{
		this.menuList = menuList;
	}

	public String toString()
	{
		return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("menuList", getMenuList()).toString();
	}
}
